ShortPixel\Model\Image\Image S

Total Complexity 32
Dependencies 2
Dependents 1
Total lines 195
Lines of code 124
Logical lines of code 63
Comment lines 5
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
isTransparent()
S
53 6 22
loadImageResource()
S
63 4 13
checkLibrary()
S
62 3 12
convertGD()
S
56 2 16
getWidth()
S
65 3 10
getHeight()
S
65 3 10
convertPNG()
S
65 3 10
finish()
S
66 3 10
__construct()
S
73 1 5
getReplacementPath()
S
82 1 3
loadImagickImage()
S
79 1 3
loadGDImage()
S
76 1 4
convertImagick()
S
71 1 6